package com.qf.oop.dt;

public class Demo02 {
    public static void main(String[] args) {

        Rectangle rectangle = new Rectangle();
        rectangle.setName("正方形");
        rectangle.setWidth(10);
        rectangle.setLength(10);

        GraphicalUtils.pirintTX(rectangle);

        Circle circle = new Circle(1);
//        circle.setName("圆形");
        GraphicalUtils.pirintTX(circle);

    }
}
